package xyz.wjwnya.common.auth;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public class UserType {

    /**
     * 管理员标识
     */
    public static final UserType USER_TYPE_ADMIN = new UserType("admin", "管理员");

    /**
     * 老师标识
     */
    public static final UserType USER_TYPE_TEACHER = new UserType("teacher", "教师");

    /**
     * 学生标识
     */
    public static final UserType USER_TYPE_STUDENT = new UserType("student", "学生");

    private final String name;
    private final String format;

}
